package com.monicaca.controller;


import com.monicaca.bean.INV_LOG;
import com.monicaca.service.INV_LOGService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/INV_LOG")
public class INV_LOGController {
    @Autowired
	
    INV_LOGService inv_logService;
    @Autowired
    HttpServletRequest request;


    @GetMapping("/")
    public String indexView(
            Model model){
        model.addAttribute("INV_LOG",inv_logService.findAll());
        return "INV_LOG";
    }


}
